<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>UniMRCP: mpf_termination_factory.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">UniMRCP
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_342be8fa773ff0594874056fe107febd.html">mpf</a></li><li class="navelem"><a class="el" href="dir_3c1f389eca1f441ba1c98a8d099f902a.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">mpf_termination_factory.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>MPF Termination Factory.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="mpf__types_8h_source.html">mpf_types.h</a>&quot;</code><br/>
</div>
<p><a href="mpf__termination__factory_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structmpf__termination__factory__t.html">mpf_termination_factory_t</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a7ce86070c5ab67cc18083399444cdc25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#a7ce86070c5ab67cc18083399444cdc25">mpf_termination_factory_engine_assign</a> (<a class="el" href="structmpf__termination__factory__t.html">mpf_termination_factory_t</a> *termination_factory, <a class="el" href="mpf__types_8h.html#ad09bd8504c5367e458c1d0d19b4aa17e">mpf_engine_t</a> *media_engine)</td></tr>
<tr class="separator:a7ce86070c5ab67cc18083399444cdc25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acce52e2aba5f9a144ec32d709a8d1012"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#acce52e2aba5f9a144ec32d709a8d1012">mpf_termination_create</a> (<a class="el" href="structmpf__termination__factory__t.html">mpf_termination_factory_t</a> *termination_factory, void *obj, apr_pool_t *pool)</td></tr>
<tr class="separator:acce52e2aba5f9a144ec32d709a8d1012"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3100108864b649113c5c9d2ea132c84"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#ac3100108864b649113c5c9d2ea132c84">mpf_raw_termination_create</a> (void *obj, <a class="el" href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a> *audio_stream, <a class="el" href="structmpf__video__stream__t.html">mpf_video_stream_t</a> *video_stream, apr_pool_t *pool)</td></tr>
<tr class="separator:ac3100108864b649113c5c9d2ea132c84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa747dfd1f34f841d2f15bab6b037a87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#aaa747dfd1f34f841d2f15bab6b037a87">mpf_termination_destroy</a> (<a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *termination)</td></tr>
<tr class="separator:aaa747dfd1f34f841d2f15bab6b037a87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27314f1c62513e2c2ef0d1bb33f1f83a"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#a27314f1c62513e2c2ef0d1bb33f1f83a">mpf_termination_name_get</a> (const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *termination)</td></tr>
<tr class="separator:a27314f1c62513e2c2ef0d1bb33f1f83a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ed5f50620c73b5c2864adf2b24e7b24"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#a2ed5f50620c73b5c2864adf2b24e7b24">mpf_termination_object_get</a> (const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *termination)</td></tr>
<tr class="separator:a2ed5f50620c73b5c2864adf2b24e7b24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3cc30bc2816391450c0e38b873512d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#af3cc30bc2816391450c0e38b873512d5">mpf_termination_audio_stream_get</a> (const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *termination)</td></tr>
<tr class="separator:af3cc30bc2816391450c0e38b873512d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab8d1a1e10b04689d09f81c30f1e474d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structmpf__video__stream__t.html">mpf_video_stream_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="mpf__termination__factory_8h.html#aab8d1a1e10b04689d09f81c30f1e474d">mpf_termination_video_stream_get</a> (const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *termination)</td></tr>
<tr class="separator:aab8d1a1e10b04689d09f81c30f1e474d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>MPF Termination Factory. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ac3100108864b649113c5c9d2ea132c84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__termination__t.html">mpf_termination_t</a>* mpf_raw_termination_create </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a> *&#160;</td>
          <td class="paramname"><em>audio_stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structmpf__video__stream__t.html">mpf_video_stream_t</a> *&#160;</td>
          <td class="paramname"><em>video_stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create raw MPF termination. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">obj</td><td>the external object associated with termination </td></tr>
    <tr><td class="paramname">audio_stream</td><td>the audio stream of the termination </td></tr>
    <tr><td class="paramname">video_stream</td><td>the video stream of the termination </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af3cc30bc2816391450c0e38b873512d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__audio__stream__t.html">mpf_audio_stream_t</a>* mpf_termination_audio_stream_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td>
          <td class="paramname"><em>termination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get audio stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination</td><td>the termination to get audio stream from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acce52e2aba5f9a144ec32d709a8d1012"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__termination__t.html">mpf_termination_t</a>* mpf_termination_create </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__termination__factory__t.html">mpf_termination_factory_t</a> *&#160;</td>
          <td class="paramname"><em>termination_factory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">apr_pool_t *&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Create MPF termination from termination factory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination_factory</td><td>the termination factory to create termination from </td></tr>
    <tr><td class="paramname">obj</td><td>the external object associated with termination </td></tr>
    <tr><td class="paramname">pool</td><td>the pool to allocate memory from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaa747dfd1f34f841d2f15bab6b037a87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_termination_destroy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td>
          <td class="paramname"><em>termination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destroy MPF termination. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination</td><td>the termination to destroy </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ce86070c5ab67cc18083399444cdc25"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="apt_8h.html#ac7b6d8df47829d778eb598e1cc52cc2a">apt_bool_t</a> mpf_termination_factory_engine_assign </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structmpf__termination__factory__t.html">mpf_termination_factory_t</a> *&#160;</td>
          <td class="paramname"><em>termination_factory</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="mpf__types_8h.html#ad09bd8504c5367e458c1d0d19b4aa17e">mpf_engine_t</a> *&#160;</td>
          <td class="paramname"><em>media_engine</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Assign media engine to termination factory. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination_factory</td><td>the termination factory to assign media engine to </td></tr>
    <tr><td class="paramname">media_engine</td><td>the media engine to assign </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a27314f1c62513e2c2ef0d1bb33f1f83a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* mpf_termination_name_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td>
          <td class="paramname"><em>termination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get termination name. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination</td><td>the termination to get name of </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2ed5f50620c73b5c2864adf2b24e7b24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* mpf_termination_object_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td>
          <td class="paramname"><em>termination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get associated object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination</td><td>the termination to get object from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aab8d1a1e10b04689d09f81c30f1e474d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structmpf__video__stream__t.html">mpf_video_stream_t</a>* mpf_termination_video_stream_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structmpf__termination__t.html">mpf_termination_t</a> *&#160;</td>
          <td class="paramname"><em>termination</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get video stream. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">termination</td><td>the termination to get video stream from </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Aug 22 2017 10:11:48 for UniMRCP by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
